package com.ruiysoft.controller.statement.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

import java.util.Objects;

/**
 * StatementAuditListVo
 */
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-01-13T17:59:57.541+08:00")

public class StatementAuditListVo   {
  @JsonProperty("id")
  private Long id = null;

  @JsonProperty("shopName")
  private String shopName = null;

  @JsonProperty("personalName")
  private String personalName = null;

  @JsonProperty("personalPhone")
  private String personalPhone = null;

  @JsonProperty("money")
  private String money = null;

  @JsonProperty("date")
  private Long date = null;

  @JsonProperty("auditType")
  private Integer auditType = null;

  @JsonProperty("isArrival")
  private Boolean isArrival = null;

  @JsonProperty("voucherPath")
  private String voucherPath = null;

  @JsonProperty("voucherNo")
  private String voucherNo = null;

  public StatementAuditListVo id(Long id) {
    this.id = id;
    return this;
  }

  /**
   * Get id
   * @return id
  **/
  @ApiModelProperty(example = "1", value = "")


  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public StatementAuditListVo shopName(String shopName) {
    this.shopName = shopName;
    return this;
  }

  /**
   * 店铺名
   * @return shopName
  **/
  @ApiModelProperty(example = "1", value = "店铺名")


  public String getShopName() {
    return shopName;
  }

  public void setShopName(String shopName) {
    this.shopName = shopName;
  }

  public StatementAuditListVo personalName(String personalName) {
    this.personalName = personalName;
    return this;
  }

  /**
   * 店主名
   * @return personalName
  **/
  @ApiModelProperty(example = "1", value = "店主名")


  public String getPersonalName() {
    return personalName;
  }

  public void setPersonalName(String personalName) {
    this.personalName = personalName;
  }

  public StatementAuditListVo personalPhone(String personalPhone) {
    this.personalPhone = personalPhone;
    return this;
  }

  /**
   * 店主电话
   * @return personalPhone
  **/
  @ApiModelProperty(example = "1", value = "店主电话")


  public String getPersonalPhone() {
    return personalPhone;
  }

  public void setPersonalPhone(String personalPhone) {
    this.personalPhone = personalPhone;
  }

  public StatementAuditListVo money(String money) {
    this.money = money;
    return this;
  }

  /**
   * 金额
   * @return money
  **/
  @ApiModelProperty(example = "1", value = "金额")


  public String getMoney() {
    return money;
  }

  public void setMoney(String money) {
    this.money = money;
  }

  public StatementAuditListVo date(Long date) {
    this.date = date;
    return this;
  }

  /**
   * 时间戳
   * @return date
  **/
  @ApiModelProperty(example = "1", value = "时间戳")


  public Long getDate() {
    return date;
  }

  public void setDate(Long date) {
    this.date = date;
  }

  public StatementAuditListVo auditType(Integer auditType) {
    this.auditType = auditType;
    return this;
  }

  /**
   * 审核状态（1，未审核，2，审核通过，3，不通过）
   * @return auditType
  **/
  @ApiModelProperty(example = "1", value = "审核状态（1，未审核，2，审核通过，3，不通过）")


  public Integer getAuditType() {
    return auditType;
  }

  public void setAuditType(Integer auditType) {
    this.auditType = auditType;
  }

  public StatementAuditListVo isArrival(Boolean isArrival) {
    this.isArrival = isArrival;
    return this;
  }

  /**
   * 状态（false，入账，true，到账）
   * @return isArrival
  **/
  @ApiModelProperty(example = "true", value = "状态（false，入账，true，到账）")


  public Boolean isIsArrival() {
    return isArrival;
  }

  public void setIsArrival(Boolean isArrival) {
    this.isArrival = isArrival;
  }

  public StatementAuditListVo voucherPath(String voucherPath) {
    this.voucherPath = voucherPath;
    return this;
  }

  /**
   * 凭证图片
   * @return voucherPath
  **/
  @ApiModelProperty(example = "1", value = "凭证图片")


  public String getVoucherPath() {
    return voucherPath;
  }

  public void setVoucherPath(String voucherPath) {
    this.voucherPath = voucherPath;
  }

  public StatementAuditListVo voucherNo(String voucherNo) {
    this.voucherNo = voucherNo;
    return this;
  }

  /**
   * 凭证号（微信提现流水）
   * @return voucherNo
  **/
  @ApiModelProperty(example = "l128398278", value = "凭证号（微信提现流水）")


  public String getVoucherNo() {
    return voucherNo;
  }

  public void setVoucherNo(String voucherNo) {
    this.voucherNo = voucherNo;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    StatementAuditListVo statementAuditListVo = (StatementAuditListVo) o;
    return Objects.equals(this.id, statementAuditListVo.id) &&
        Objects.equals(this.shopName, statementAuditListVo.shopName) &&
        Objects.equals(this.personalName, statementAuditListVo.personalName) &&
        Objects.equals(this.personalPhone, statementAuditListVo.personalPhone) &&
        Objects.equals(this.money, statementAuditListVo.money) &&
        Objects.equals(this.date, statementAuditListVo.date) &&
        Objects.equals(this.auditType, statementAuditListVo.auditType) &&
        Objects.equals(this.isArrival, statementAuditListVo.isArrival) &&
        Objects.equals(this.voucherPath, statementAuditListVo.voucherPath) &&
        Objects.equals(this.voucherNo, statementAuditListVo.voucherNo);
  }

  @Override
  public int hashCode() {
    return Objects.hash(id, shopName, personalName, personalPhone, money, date, auditType, isArrival, voucherPath, voucherNo);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class StatementAuditListVo {\n");

    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    shopName: ").append(toIndentedString(shopName)).append("\n");
    sb.append("    personalName: ").append(toIndentedString(personalName)).append("\n");
    sb.append("    personalPhone: ").append(toIndentedString(personalPhone)).append("\n");
    sb.append("    money: ").append(toIndentedString(money)).append("\n");
    sb.append("    date: ").append(toIndentedString(date)).append("\n");
    sb.append("    auditType: ").append(toIndentedString(auditType)).append("\n");
    sb.append("    isArrival: ").append(toIndentedString(isArrival)).append("\n");
    sb.append("    voucherPath: ").append(toIndentedString(voucherPath)).append("\n");
    sb.append("    voucherNo: ").append(toIndentedString(voucherNo)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

